package com.baiye.template.pojo;

/**系统监控信息
 * @author GUOZHIPENG
 * @version 1.0
 * @date 2021/8/9 16:33
 */
public class SysInfo {
    /**系统使用CPU占比*/
    private double sysCpuUse;
    /**用户使用CPU占比*/
    private double userCpuUse;
    /**剩余空闲CPU占比*/
    private double leftCpu;
    /**已使用物理内存占比*/
    private double useMemory;
    /**剩余物理内存占比*/
    private double leftMemory;
    /**空闲率*/
    private double idleRate;
    /**cpu核数*/
    private int cpuNum;
    /**cpu等待率*/
    private double cpuWaitingRate;
    /**总的物理内存*/
    private String totalPhysicalMemory;
    /**剩余物理内存*/
    private String leftPhysicalMemory;
//    已使用的物理内存
    private String usePhysicalMemory;
//    操作系统
    private String operatingSystem;
//    程序启动时间
    private String startTime;
//    JAVA_VERSION
    private String javaVersion;
//    JAVA_HOME
    private String javaHome;

    public double getSysCpuUse() {
        return sysCpuUse;
    }

    public void setSysCpuUse(double sysCpuUse) {
        this.sysCpuUse = sysCpuUse;
    }

    public double getUserCpuUse() {
        return userCpuUse;
    }

    public void setUserCpuUse(double userCpuUse) {
        this.userCpuUse = userCpuUse;
    }

    public double getLeftCpu() {
        return leftCpu;
    }

    public void setLeftCpu(double leftCpu) {
        this.leftCpu = leftCpu;
    }

    public double getUseMemory() {
        return useMemory;
    }

    public void setUseMemory(double useMemory) {
        this.useMemory = useMemory;
    }

    public double getLeftMemory() {
        return leftMemory;
    }

    public void setLeftMemory(double leftMemory) {
        this.leftMemory = leftMemory;
    }

    public double getIdleRate() {
        return idleRate;
    }

    public void setIdleRate(double idleRate) {
        this.idleRate = idleRate;
    }

    public int getCpuNum() {
        return cpuNum;
    }

    public void setCpuNum(int cpuNum) {
        this.cpuNum = cpuNum;
    }

    public double getCpuWaitingRate() {
        return cpuWaitingRate;
    }

    public void setCpuWaitingRate(double cpuWaitingRate) {
        this.cpuWaitingRate = cpuWaitingRate;
    }

    public String getTotalPhysicalMemory() {
        return totalPhysicalMemory;
    }

    public void setTotalPhysicalMemory(String totalPhysicalMemory) {
        this.totalPhysicalMemory = totalPhysicalMemory;
    }

    public String getLeftPhysicalMemory() {
        return leftPhysicalMemory;
    }

    public void setLeftPhysicalMemory(String leftPhysicalMemory) {
        this.leftPhysicalMemory = leftPhysicalMemory;
    }

    public String getUsePhysicalMemory() {
        return usePhysicalMemory;
    }

    public void setUsePhysicalMemory(String usePhysicalMemory) {
        this.usePhysicalMemory = usePhysicalMemory;
    }

    public String getOperatingSystem() {
        return operatingSystem;
    }

    public void setOperatingSystem(String operatingSystem) {
        this.operatingSystem = operatingSystem;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getJavaVersion() {
        return javaVersion;
    }

    public void setJavaVersion(String javaVersion) {
        this.javaVersion = javaVersion;
    }

    public String getJavaHome() {
        return javaHome;
    }

    public void setJavaHome(String javaHome) {
        this.javaHome = javaHome;
    }

    @Override
    public String toString() {
        return "SysInfo{" +
                "sysCpuUse=" + sysCpuUse +
                ", userCpuUse=" + userCpuUse +
                ", leftCpu=" + leftCpu +
                ", useMemory=" + useMemory +
                ", leftMemory=" + leftMemory +
                ", idleRate=" + idleRate +
                ", cpuNum=" + cpuNum +
                ", cpuWaitingRate=" + cpuWaitingRate +
                ", totalPhysicalMemory='" + totalPhysicalMemory + '\'' +
                ", leftPhysicalMemory='" + leftPhysicalMemory + '\'' +
                ", usePhysicalMemory='" + usePhysicalMemory + '\'' +
                ", operatingSystem='" + operatingSystem + '\'' +
                ", startTime=" + startTime +
                ", javaVersion='" + javaVersion + '\'' +
                ", javaHome='" + javaHome + '\'' +
                '}';
    }
}
